package com.Ajava1704.for并发包下的类.conditation;

/**
 * 作者: LCG
 * 日期: 2020/6/23 22:20
 * 描述:
 */
public class TestCondition {

    public static void main(String[] args) throws InterruptedException {

        ConditionUtils conditionUtils=new ConditionUtils();

        Thread1 thread1=new Thread1(conditionUtils);

        thread1.start();

        Thread1 thread2=new Thread1(conditionUtils);

        thread2.start();

        Thread.sleep(3000);

        conditionUtils.singalA();

    }

}
